<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

	<div id="app" v-cloak>
		<div class="form-group">
			<label class="control-label col-xs-12 col-sm-2">优惠劵:</label>
			<div class="col-xs-12 col-sm-8">
				<select  data-rule="required" class="form-control selectpicker" name="row[coupon_type]">
					{foreach name="couponList" item="vo"}
						<option value="{$vo.id}" }>{$vo.name}</option>
					{/foreach}
				</select>
			</div>
		</div>

		<div class="form-group">
			<label class="control-label col-xs-12 col-sm-2">用户:</label>
			<div class="col-xs-12 col-sm-8">
				<!-- 1.1.4升级 -->
				<input id="c-user_ids" 
					   data-source="coupon/coupon/userList"
					   data-multiple="true"
					   data-pagination="true"
					   data-page-size="1"
					   class="form-control selectpage"
					   name="row[user_ids]"
					   type="text"
					   value="">
				</div>
			</div>
		<label class="control-label col-xs-12 col-sm-2"></label>
		   <div class="col-xs-12 col-sm-8" style="color: red">不选用户，默认给所有用户发放</div>
		</div>

		<div class="form-group layer-footer">
			<label class="control-label col-xs-12 col-sm-2"></label>
			<div class="col-xs-12 col-sm-8">
				<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
				<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
			</div>
		</div>
	</div>
</form>
